import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-04-23
 * Time: 20:52
 */
public class writrethings {
    public static void main(String[] args) throws IOException {
        try(InputStream inputStream=new FileInputStream("C:\\Users\\22652\\Desktop\\程序\\iron\\Java_4_23\\中文文档.txt")){
            while (true){
                int b=inputStream.read();
                if (b==-1){
                    break;
                }
                System.out.printf("%c ",b);
            }
        }
    }
}
